<?php

declare(strict_types=1);

namespace App\Constants\Menu;

use Hyperf\Constants\Annotation\Constants;
use Hyperf\Constants\Annotation\Message;
use Hyperf\Constants\EnumConstantsTrait;

/**
 * 菜单-请求方式-枚举类
 */
#[Constants]
enum MenuMethodEnum: int
{
        use EnumConstantsTrait;

        #[Message("enum.common.requestMethod.1")]
        case DEFINITION_1 = 1;

        #[Message("enum.common.requestMethod.2")]
        case DEFINITION_2 = 2;

        #[Message("enum.common.requestMethod.3")]
        case DEFINITION_3 = 3;

        #[Message("enum.common.requestMethod.4")]
        case DEFINITION_4 = 4;

        #[Message("enum.common.requestMethod.5")]
        case DEFINITION_5 = 5;

        #[Message("enum.common.requestMethod.6")]
        case DEFINITION_6 = 6;

        #[Message("enum.common.requestMethod.7")]
        case DEFINITION_7 = 7;

        #[Message("enum.common.requestMethod.8")]
        case DEFINITION_8 = 8;
}
